<!DOCTYPE html>
<html lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

	<meta charset="UTF-8">
	<title>-webkit-border-radius | CtripUED webkit CSS Library</title>
	
	<script type="text/javascript" src="base.js"></script>


<link rel="stylesheet" type="text/css" href="border-radius_001.css" media="all">
</head>
<body>
<div class="head">
	<div class="wrap">
		<a href="http://ued.ctrip.com/blog/wp-content/webkitcss/index.html" class="logo">CtripUED webkit CSS library</a>
		<div class="nav">
			<ul>
				<li><a href="http://ued.ctrip.com/blog/wp-content/webkitcss/index.html">首页</a></li>
				<li><a href="http://ued.ctrip.com/blog/wp-content/webkitcss/aboutus.html#about">关于我们</a></li>
				<li><a href="http://ued.ctrip.com/blog/wp-content/webkitcss/aboutus.html#about_box">意见反馈</a></li>
				<li><a href="http://ued.ctrip.com/">CtripUED 博客</a></li>
			</ul>
		</div>
	</div>
</div>
<div class="wrap">
	<div class="side">
		<div class="filter_box">
			<div class="field" id="catalogFilter">
				<input id="key" placeholder="属性搜索..." type="search">
			</div>
		</div>
		<div class="categorys"></div>
	</div>

	<div class="main" id="main">
		<div class="position" id="position">
			您的位置: <a href="http://ued.ctrip.com/blog/wp-content/webkitcss/index.html">首页</a> &gt; -webkit-border-radius
		</div>
		<!-- /position -->
		<div class="prop_intro">
			<div class="tit">
				<h1>-webkit-border-radius 属性</h1>
			</div>
			<div class="prop_detail">
				设置或检索对象使用圆角边框。每一个角的弧线形状可以通过分别控制水平圆的半径和垂直圆的半径来定义。圆角是应用在整个背景上。<span class="ex">即使元素没有边框，圆角剪切的位置也将根据背景剪切的值来定义。</span>border-radius的属性值的缩写方式是：border-top-left-radius, border-top-right-radius, border-bottom-right-radius, border-bottom-left-radius。
			</div>
			<!-- /prop_detail -->
			<div class="prop_comp">
				<p>
					<i class="ico_browser ico_browser_saf"><small>3.0+</small></i>
					<i class="ico_browser ico_browser_chr"><small>?</small></i>
					<i class="ico_browser ico_browser_and"><small>?</small></i>
					<i class="ico_browser ico_browser_ios"><small>?</small></i>
				</p>
				<p>?: 表示版本号未知，但该属性可用。</p>
			</div>
			<!-- /prop_comp -->
			<!-- Baidu Button BEGIN -->
			<!-- Baidu Button BEGIN -->

		</div>
		<!-- /prop_intro -->
		<div class="mod prop_gramm">
			<h2 class="mod_tit">语法</h2>
			<p class="mod_con">
				<strong>-webkit-border-radius:</strong>[&lt;length&gt; | &lt;percentage&gt;]{1,4} [&lt;length&gt; | &lt;percentage&gt;]{1,4}
			</p>
		</div>
		<!-- /prop_gramm -->
		<div class="mod prop_value">
			<h2 class="mod_tit">取值</h2>
			<div class="mod_con">
				<table>
					<tbody><tr>
						<th>&lt;length&gt;</th>
						<td>用长度值设置对象的圆角半径长度。不允许负值。</td>
					</tr>
					<tr>
						<th>&lt;percentage&gt;</th>
						<td>用百分比设置对象的圆角半径长度。不允许负值。对于水平半径，此值为占边框方框宽度的百分比。对于垂直半径，此值为占边框方框高度的百分比。</td>
					</tr>
				</tbody></table>
			</div>
		</div>
		<!-- /prop_value -->
		<div class="mod prop_demo">
			<h2 class="mod_tit">示例</h2>
			<div class="mod_con">
				<iframe id="iframedemo" style="border: 1px solid rgb(221, 221, 221);" src="border-radius_001_1.html" width="100%" frameborder="0" height="400"></iframe>
				<div class="btns">
					<a href="http://ued.ctrip.com/blog/wp-content/webkitcss/demo/border-radius.html" target="_top" class="btn_primary">演示</a>
				</div>

			</div>
		</div>
		<!-- /prop_demo -->
	</div>
	<!-- /main -->
</div>
<!-- /wrap -->

</body>
</html>
